﻿using CPPEI.Coolzon.Common;
using CPPEI.Coolzon.Service.Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.UI.Views.EventProxies
{
    public class RespTabChangeHandler : BaseResponseHandler<RespTabChangeData>
    {
        protected override void OnHandle(RemoteEventProxy remoteEventProxy, ServiceProxy.MainServiceRef.Response response, RespTabChangeData responseData)
        {
            remoteEventProxy.RenderView.TabChange(responseData.Scene, responseData.TabContainer, responseData.OldTabIndex, responseData.NewTabIndex);
        }
    }
}
